# number
# print(number)
# try:
#     number
#     print(number)
# except NameError as e:
#     print("出现错误")
#     print(e)
#
# finally:
#     print("ok")


#    print()
# print()

# try:
#     print()
# print()
# except IndentationError as e:
#     print("出现错误")
#     print(e)
# finally:
#     print("ok")


# # n = 100/0
#
# try:
#     n = 100/0
#
# except ZeroDivisionError as e:
#     print("出现错误")
#     print(e)
#
# finally:
#     print("ok")


# # arr = [1,2,3]
# # print(arr[100])
#
# try:
#     arr = [1, 2, 3]
#     print(arr[100])
# except IndexError as e:
#     print("出现错误")
#     print(e)
# finally:
#     print("ok")


# # int a = 0
#
# try:
#     int a = 0
# exception SyntaxError as e:
#     print("出现错误")
#     print(e)
# finally:
#     print("0k")

# # n = {}
# # print(n["a"])
#
# try:
#     n = {}
#     print(n["a"])
# except KeyError as e:
#     print("出现错误")
#     print(e)
# finally:
#     print("ok")


# info = int(input("请输一个整数："))
 
# try:
#     info = int(input("请输入一个整数："))
# except ValueError as e:
#     print("出现错误")
#     print(e)
# finally:
#     print("ok")
#

